#include<stdio.h>
#include<malloc.h>
#include<string.h>

typedef struct Person
{
    char name[20];
    char phone[20];
    char address[30];
}Person,*pPerson;

typedef struct Time
{
    int year;
    int month;
    int day;
}Time,*pTime;

typedef struct courierBill
{
    int id;
    Person sender,receiver;
    char sendCity[20],receiveCity[20];
    char serviceCompany[20];
    Time send,receive;
    int price;
}Paper,*pPaper;

void Show(Paper now)
{
    printf("快递单号:%d\n",now.id);
    printf("发货方:%s,%s,%s\n",now.sender.name,now.sender.phone,now.sender.address);
    printf("接收方:%s,%s,%s\n",now.receiver.name,now.receiver.phone,now.receiver.address);
    printf("始发城市:%s\n",now.sendCity);
    printf("目的城市:%s\n",now.receiveCity);
    printf("快递服务商:%s\n",now.serviceCompany);
    printf("发送时间:%d.%02d.%02d\n",now.send.year,now.send.month,now.send.day);
    printf("接收时间:%d.%02d.%02d\n",now.receive.year,now.receive.month,now.receive.day);
    printf("快递价格:%d\n",now.price);
}


int main()
{
    Paper now[2]={
            {10202,{"Xiao Li","13601110123","Xiangjiang KLMY"},
             {"Xiao Wang","1330000666","Beijing XC"},"kelamayi",
             "Beijing","Fengxingxia",{2022,11,11},{2022,11,16},24},
            {10201,{"Xiao Li","13601110123","Xiangjiang KLMY University"},
            {"Xiao Wang","1330000666","Beijing XC University"},"kelamayi",
            "Beijing","Fengxingxia",{2022,11,18},{2022,11,26},30}};
    int num,flag=0;
    scanf("快递单号:%d",&num);
    for(int i=0;i<2;i++){
        if(now[i].id==num){
            Show(now[i]);
            flag=1;
        }
        
    }
    if(flag==0)  printf("no found.");
}
